﻿@{
    ViewBag.Title = "MyMessage";
}
@using BLL;
@using Entity;
<style type="text/css">
    .aa {
        background-color: #808080;
        height: 50px;
        line-height: 50px;
        text-align: center;
    }

    td {
        text-align: center;
    }

    th {
        width: 180px;
    }
</style>
<form action="../Admin/MyMessage" method="post">
    <table border="1" cellspacing="0">
        <tr>
            <th colspan="2">
                <h2 class="aa">个人信息修改</h2>
            </th>
        </tr>
        <tr>

            <input type="hidden" name="UserId" value="
        @foreach (var item in ViewBag.tt)
        {
		 @item.UserId
        }" />
            <th>用户名:</th>
            <th>
                <input type="text" value="@foreach (var item in ViewBag.tt)
                                          {
		 @item.UserName
                                          }" name="UserName""></th>
        </tr>
        <tr>
            <th>密码:</th>
            <th>
                <input type="text" value="@foreach (var item in ViewBag.tt)
                                          {
		 @item.UserPwd
                                          }" name="UserPwd""/></th>
        </tr>
        <tr>
            <th>级别：</th>
            <th>
                <select name="UserPower">
                    <option value="1">管理员</option>
                    <option value="2">用户</option>
                </select>
            </th>
        </tr>
        <tr>
            <th>
                <input type="submit" value="确定" /></th>
            <th>
                <input type="reset" value="重置" /></th>
        </tr>
    </table>
</form>

